from manim import *


class shift(Scene):
    """
    圆 上下左右移动
    """

    def construct(self):
        circle = Circle()
        self.play(Create(circle))
        self.wait()
        self.play(circle.animate.shift(UP * 2))
        self.wait()
        self.play(circle.animate.shift(DOWN * 2))
        self.wait()
        self.play(circle.animate.shift(LEFT * 2))
        self.wait()
        self.play(circle.animate.shift(RIGHT * 2))
        self.wait()
